package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-合同模版
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_contract_template")
@ApiModel(value = "ErpContractTemplate对象", description = "ERP系统-合同模版")
public class ErpContractTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联主版本")
    private Integer parentId;

    @ApiModelProperty("目录ID")
    private Integer catalogId;

    @ApiModelProperty("版本号")
    private String version;

    @ApiModelProperty("合同模版名称")
    private String name;

    @ApiModelProperty("合同模版描述")
    private String remark;

    @ApiModelProperty("doc下载链接")
    private String docUrl;

    @ApiModelProperty("pdf预览链接")
    private String pdfUrl;

    @ApiModelProperty("排序号")
    private Integer sort;

    @ApiModelProperty("是否可用1-可用 0-禁用")
    private Integer isEnabled;

    @ApiModelProperty("是否删除1-删除 0-未删除")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
